package com.yf.stat.modules.repo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yf.base.api.api.dto.PagingReqDTO;
import com.yf.stat.modules.repo.dto.request.StatRepoTotalReqDTO;
import com.yf.stat.modules.repo.dto.response.StatRepoTotalDTO;
import com.yf.stat.modules.repo.mapper.StatRepoMapper;
import com.yf.stat.modules.repo.service.StatRepoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* <p>
* 考试总体统计业务实现类
* </p>
*
* @author 聪明笨狗
* @since 2020-09-11 11:10
*/
@Service
public class StatRepoServiceImpl implements StatRepoService {


    @Autowired
    private StatRepoMapper statRepoMapper;


    @Override
    public IPage<StatRepoTotalDTO> repoPreviewPaging(PagingReqDTO<StatRepoTotalReqDTO> reqDTO) {
        return statRepoMapper.repoPreviewPaging(reqDTO.toPage(), reqDTO.getParams());
    }


}
